export interface ImageFilter {
  brightness: number;
  contrast: number;
  saturation: number;
  blur: number;
}

export interface ProcessingOptions {
  type: 'enhance' | 'denoise' | 'upscale' | 'background-remove';
  parameters?: Record<string, any>;
}

export interface ImageProcessingResult {
  success: boolean;
  data?: string; // base64 image data
  error?: string;
}

export interface UploadedFile {
  file: File;
  preview: string;
  id: string;
}

export interface CanvasHistory {
  id: string;
  imageData: string;
  timestamp: number;
  description: string;
}

export interface AIProcessingTask {
  id: string;
  type: ProcessingOptions['type'];
  status: 'pending' | 'processing' | 'completed' | 'failed';
  progress: number;
  result?: string;
  error?: string;
}